package com.bootdo.wx.service;

import com.bootdo.common.utils.R;
import com.bootdo.wx.domain.OrderComDO;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * 订单返佣表
 * 
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2019-05-22 15:31:35
 */
public interface OrderComService {
	
	OrderComDO get(String id);
	
	List<OrderComDO> list(Map<String, Object> map);

	List<Map<String,Object>> comPriceList(Map<String, Object> map);

	int count(Map<String, Object> map);
	
	int save(OrderComDO orderCom);
	
	int update(OrderComDO orderCom);
	
	int remove(String id);
	
	int batchRemove(String[] ids);

	Map<String,Object> getMemberCom(Map<String, Object> map);

	Map<String,Object> getOrderCom(Map<String, Object> params);

	R getMemberComList(Map<String, Object> map);

    List<Map<String, Object>> getByExtractId(Map<String, Object> params);

	int getByExtractIdCount(Map<String, Object> params);

	Map<String, Object> getOrderComList(Map<String, Object> map);


	int removeCom(String orderId);


	List<Map<String, Object>> comUser(Map<String, Object> params);

    BigDecimal sumComUserMoney(Map<String, Object> params);
}
